package com.finance.entity.customer;

import java.util.Date;
import java.util.PrimitiveIterator.OfDouble;
/**
 * 近六个月通话记录详单
 * @author Administrator
 *
 */
public class CallRecordInfo {
    /**
     * 主键
     */
    private Integer callId;

    /**
     * 客户id
     */
    private String kfUserId;

    /**
     * 通话地点
     */
    private String callAddress;

    /**
     * 通话时间
     */
    private Date callDateTime;

    /**
     * 通话时长
     */
    private String callTimeLength;

    /**
     * 通话类型（1主叫  2被叫）
     */
    private Integer callType;

    /**
     * 与本机通话电话号码
     */
    private String mobileNo;
    
    public String getCallTypeName(){
    	if (callType == null) {
			return "错误";
		}
    	if (callType == 1) {
			return "主叫";
		}
    	if (callType == 2) {
			return "被叫";
		}
    	return "未知";
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kf_call_record_info.call_id
     *
     * @return the value of kf_call_record_info.call_id
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public Integer getCallId() {
        return callId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kf_call_record_info.call_id
     *
     * @param callId the value for kf_call_record_info.call_id
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public void setCallId(Integer callId) {
        this.callId = callId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kf_call_record_info.kf_user_id
     *
     * @return the value of kf_call_record_info.kf_user_id
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public String getKfUserId() {
        return kfUserId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kf_call_record_info.kf_user_id
     *
     * @param kfUserId the value for kf_call_record_info.kf_user_id
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public void setKfUserId(String kfUserId) {
        this.kfUserId = kfUserId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kf_call_record_info.call_address
     *
     * @return the value of kf_call_record_info.call_address
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public String getCallAddress() {
        return callAddress;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kf_call_record_info.call_address
     *
     * @param callAddress the value for kf_call_record_info.call_address
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public void setCallAddress(String callAddress) {
        this.callAddress = callAddress;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kf_call_record_info.call_date_time
     *
     * @return the value of kf_call_record_info.call_date_time
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public Date getCallDateTime() {
        return callDateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kf_call_record_info.call_date_time
     *
     * @param callDateTime the value for kf_call_record_info.call_date_time
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public void setCallDateTime(Date callDateTime) {
        this.callDateTime = callDateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kf_call_record_info.call_time_length
     *
     * @return the value of kf_call_record_info.call_time_length
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public String getCallTimeLength() {
        return callTimeLength;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kf_call_record_info.call_time_length
     *
     * @param callTimeLength the value for kf_call_record_info.call_time_length
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public void setCallTimeLength(String callTimeLength) {
        this.callTimeLength = callTimeLength;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kf_call_record_info.call_type
     *
     * @return the value of kf_call_record_info.call_type
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public Integer getCallType() {
        return callType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kf_call_record_info.call_type
     *
     * @param callType the value for kf_call_record_info.call_type
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public void setCallType(Integer callType) {
        this.callType = callType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kf_call_record_info.mobile_no
     *
     * @return the value of kf_call_record_info.mobile_no
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public String getMobileNo() {
        return mobileNo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kf_call_record_info.mobile_no
     *
     * @param mobileNo the value for kf_call_record_info.mobile_no
     *
     * @mbggenerated Fri Feb 23 16:42:45 CST 2018
     */
    public void setMobileNo(String mobileNo) {
        this.mobileNo = mobileNo;
    }
}